emacs.git
9 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
9 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

9 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

9 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs25.

Author: Rob Browning <rlb@defaultvalue.org>

9 years agoPrefer /usr/share/info/emacs-MAJORVERSION
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs-MAJORVERSION

Emacs prefers /usr/share/info/emacs-MAJORVERSION to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before
/usr/share/info.

9 years agoMerge tag 'emacs-25.1' into deb/emacs25/d/sid/upstream
Rob Browning [Mon, 26 Sep 2016 21:13:06 +0000 (16:13 -0500)]
Merge tag 'emacs-25.1' into deb/emacs25/d/sid/upstream

9 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release
Nicolas Petton [Thu, 15 Sep 2016 21:30:09 +0000 (23:30 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release

9 years ago* etc/AUTHORS: Regenerate the AUTHORS file
Nicolas Petton [Thu, 15 Sep 2016 21:08:14 +0000 (23:08 +0200)]
* etc/AUTHORS: Regenerate the AUTHORS file

9 years agoUpdate admin/authors.el
Eli Zaretskii [Thu, 15 Sep 2016 19:21:19 +0000 (22:21 +0300)]
Update admin/authors.el

* admin/authors.el (authors-fixed-entries): Add an entry for Bob
Weiner.

9 years agoUpdate Antinews in ELisp manual
Eli Zaretskii [Wed, 14 Sep 2016 14:20:24 +0000 (17:20 +0300)]
Update Antinews in ELisp manual

* doc/lispref/anti.texi (Antinews): Update for Emacs 25.1.
* doc/lispref/elisp.texi (Top): Update the main menu entry for
Antinews.

9 years agoFix comments on window height macros
Noam Postavsky [Sun, 11 Sep 2016 20:25:13 +0000 (16:25 -0400)]
Fix comments on window height macros

* src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
confusing claim that "height is in pixels and in lines"; in fact it's in
pixels.

9 years agoFix 'url-http-create-request' when cookies are used
Toke Høiland-Jørgensen [Sat, 10 Sep 2016 19:09:33 +0000 (22:09 +0300)]
Fix 'url-http-create-request' when cookies are used

* lisp/url/url-http.el (url-http-create-request): Make sure the
cookie headers are a unibyte string.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00202.html.

Copyright-paperwork-exempt: yes

9 years agoFix cross reference in frames.texi
Martin Rudalics [Thu, 8 Sep 2016 08:56:17 +0000 (10:56 +0200)]
Fix cross reference in frames.texi

* doc/lispref/frames.texi (Minibuffers and Frames): Fix cross
reference.

9 years ago; * etc/DEBUG: Minor copyedits.
Eli Zaretskii [Wed, 7 Sep 2016 17:37:31 +0000 (20:37 +0300)]
; * etc/DEBUG: Minor copyedits.

9 years ago; * etc/DEBUG: Improve documentation of getting control to GDB.
Eli Zaretskii [Mon, 5 Sep 2016 16:32:21 +0000 (19:32 +0300)]
; * etc/DEBUG: Improve documentation of getting control to GDB.

Suggested by Alain Schneble <a.s@realize.ch>.

9 years agoFix regexp-opt documentation (bug #17862)
immerrr [Sun, 7 Feb 2016 09:46:37 +0000 (12:46 +0300)]
Fix regexp-opt documentation (bug #17862)

* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
* doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.

9 years ago; Fix documentation of seq-subseq
Clément Pit--Claudel [Thu, 1 Sep 2016 14:46:14 +0000 (10:46 -0400)]
; Fix documentation of seq-subseq

9 years ago* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.
Nicolas Richard [Tue, 23 Aug 2016 09:50:52 +0000 (11:50 +0200)]
* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.

9 years ago; Spelling fixes
Paul Eggert [Wed, 31 Aug 2016 03:32:30 +0000 (20:32 -0700)]
; Spelling fixes

9 years agoFix tags-query-replace docstring
Noam Postavsky [Sat, 27 Aug 2016 02:32:43 +0000 (22:32 -0400)]
Fix tags-query-replace docstring

* lisp/progmodes/etags.el (tags-query-replace): Remove incorrect info
regarding non-existent parameters.

9 years agoClarify documentation of precision in format specs
Eli Zaretskii [Fri, 26 Aug 2016 19:13:34 +0000 (22:13 +0300)]
Clarify documentation of precision in format specs

* doc/lispref/strings.texi (Formatting Strings): Be less
definitive wrt what precision means in format specs other than
floating-point, %s and %S.  (Bug#24314)

9 years agoImprove and clarify documentation of subprocesses
Eli Zaretskii [Wed, 24 Aug 2016 14:36:28 +0000 (17:36 +0300)]
Improve and clarify documentation of subprocesses

* doc/lispref/processes.texi (Subprocess Creation, Shell Arguments):
Mention 'make-process' rather than 'start-process'.  Update wrt
standard destinations of standard output/error streams and due to
different formats of arguments accepted by 'make-process'.
(Processes): Mention process objects that represent connections.
(Synchronous Processes): Minor clarifications.
(Asynchronous Processes): Describe 'make-process' and
'make-pipe-process' before 'start-process'.  Update and expand the
documentation.
(Deleting Processes, Process Information, Input to Processes)
(Signals to Processes, Query Before Exit, Network): Update and
expand the documentation, especially wrt process objects that
represent connections.
(Output from Processes): Mention the possibility of separating
stderr via 'make-process'.
(Filter Functions): Mention that stderr by default arrives at the
filter function together with stdout.  (Bug#24287)

* src/process.c (Fprocess_id, Fprocess_command)
(Fprocess_contact, Fprocess_type, Fstop_process): Doc fixes for
process objects that represent connections.

9 years ago* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).
Paul Eggert [Tue, 23 Aug 2016 19:27:54 +0000 (12:27 -0700)]
* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

9 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2
Nicolas Petton [Sun, 21 Aug 2016 21:24:55 +0000 (23:24 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2

9 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sun, 21 Aug 2016 21:24:15 +0000 (23:24 +0200)]
* etc/AUTHORS: Update the AUTHORS file

9 years ago; ChangeLog spelling fixes
Paul Eggert [Sun, 21 Aug 2016 11:15:15 +0000 (04:15 -0700)]
; ChangeLog spelling fixes

9 years agoSome assorted documentation clarifications
Philipp Stephani [Fri, 19 Aug 2016 19:23:24 +0000 (21:23 +0200)]
Some assorted documentation clarifications

* src/fileio.c (Fwrite_region): Clarify that END is ignored if
START is nil.
* src/editfns.c (Fbuffer_size): Add short discussion about
narrowing.
* src/callproc.c (Fcall_process_region): Discuss behavior when
START and END are not buffer positions.

9 years agoImprove commentary in src/character.h
Eli Zaretskii [Thu, 18 Aug 2016 14:23:22 +0000 (17:23 +0300)]
Improve commentary in src/character.h

* src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
(MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
info from commentary and improve it.

9 years ago; Fix typo in /etc/NEWS
Michael Albinus [Wed, 17 Aug 2016 07:39:04 +0000 (09:39 +0200)]
; Fix typo in /etc/NEWS

9 years ago* etc/NEWS: Mention the change in json-encode-string.
Dmitry Gutov [Wed, 17 Aug 2016 04:09:01 +0000 (07:09 +0300)]
* etc/NEWS: Mention the change in json-encode-string.

The change was made to fix bug#20154, and came up again in bug#24239.

9 years ago; * etc/NEWS: Mention incompatible change in url-http-create-request.
Eli Zaretskii [Wed, 17 Aug 2016 02:41:00 +0000 (05:41 +0300)]
; * etc/NEWS: Mention incompatible change in url-http-create-request.

9 years agoMerge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Eli Zaretskii [Tue, 16 Aug 2016 18:35:17 +0000 (21:35 +0300)]
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25

9 years ago* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
Eli Zaretskii [Tue, 16 Aug 2016 18:33:09 +0000 (21:33 +0300)]
* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.

(Bug#24206)

9 years ago; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
Glenn Morris [Tue, 16 Aug 2016 15:40:02 +0000 (08:40 -0700)]
; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
* etc/NEWS: Likewise.

9 years agoAvoid segfaults due to quoting in 'substitute-command-keys'
Eli Zaretskii [Tue, 16 Aug 2016 14:36:27 +0000 (17:36 +0300)]
Avoid segfaults due to quoting in 'substitute-command-keys'

* src/doc.c (Fsubstitute_command_keys): Correct character counts
when the input string is unibyte.  (Bug#24206)

9 years agoIn NEWS describe new handling of window margins (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 10:40:12 +0000 (12:40 +0200)]
In NEWS describe new handling of window margins (Bug#24193)

* etc/NEWS: Describe new handling of margins when splitting or
resizing windows (Bug#24193).

9 years agoFacultatively ignore margins when splitting and resizing windows (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 07:19:18 +0000 (09:19 +0200)]
Facultatively ignore margins when splitting and resizing windows (Bug#24193)

Provide a new window parameter 'min-margins' which allows to
ignore the actual widths of a window's margins when splitting or
resizing that window horizontally.  This should serve as a
workaround for handling the problems raised by Bug#24193.

* lisp/window.el (window--min-size-1): Handle new window
parameter 'min-margins'.
(split-window): Fix text of error messages.
* doc/lispref/windows.texi (Window Parameters): Describe new
parameter 'min-margins'.

9 years agoDocument CATEGORY arg to modify-category-entry
Noam Postavsky [Sun, 14 Aug 2016 02:54:53 +0000 (22:54 -0400)]
Document CATEGORY arg to modify-category-entry

* src/category.c (Fmodify_category_entry): Document CATEGORY argument.

9 years agoDocument char-script-table's effect on word motion
Noam Postavsky [Fri, 12 Aug 2016 22:33:17 +0000 (18:33 -0400)]
Document char-script-table's effect on word motion

* doc/lispref/positions.texi (Word Motion): Talk about
char-script-table (Bug #10494).

9 years agoFurther fix for 'url-http-create-request' and multibyte strings
Eli Zaretskii [Sat, 13 Aug 2016 08:28:53 +0000 (11:28 +0300)]
Further fix for 'url-http-create-request' and multibyte strings

* lisp/url/url-http.el (url-http-create-request): Run
url-mime-charset-string through url-http--encode-string.
(Bug#24117)

9 years agoFix docstring of eval-expression
Noam Postavsky [Fri, 12 Aug 2016 23:29:16 +0000 (19:29 -0400)]
Fix docstring of eval-expression

* lisp/simple.el (eval-expression): Fix the docstring to reflect the
fact that the prefix argument does not affect formatting for
integers (Bug #20691).

9 years agoClarify when 'cursor' property is in effect
Eli Zaretskii [Thu, 11 Aug 2016 20:01:53 +0000 (23:01 +0300)]
Clarify when 'cursor' property is in effect

* doc/lispref/text.texi (Special Properties): Minor copyedits.
(Bug#24179)

9 years agoConvert the remaining strings to unibyte before concatenating
Dmitry Gutov [Thu, 11 Aug 2016 18:06:49 +0000 (21:06 +0300)]
Convert the remaining strings to unibyte before concatenating

* lisp/url/url-http.el (url-http--encode-string): New function.
(url-http-create-request): Use it to convert ASCII to unibyte.
(Bug#24117)

9 years agoFix bug with handling the bidi cache
Eli Zaretskii [Thu, 11 Aug 2016 15:11:26 +0000 (18:11 +0300)]
Fix bug with handling the bidi cache

* src/xdisp.c (redisplay_window): Save and restore the state of
the bidi cache before reusing the iterator after calls to
try_window and try_window_reusing_current_matrix.

9 years ago* doc/lispref/text.texi (Change Hooks): Minor copyedits.
Eli Zaretskii [Wed, 10 Aug 2016 17:12:55 +0000 (20:12 +0300)]
* doc/lispref/text.texi (Change Hooks): Minor copyedits.

9 years agoClarify documentation of before/after-change-functions
Eli Zaretskii [Tue, 9 Aug 2016 16:52:50 +0000 (19:52 +0300)]
Clarify documentation of before/after-change-functions

* doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
not called in balanced pairs.

9 years agoDocument use of vectors in keymaps
Noam Postavsky [Sat, 6 Aug 2016 13:05:05 +0000 (09:05 -0400)]
Document use of vectors in keymaps

* doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
format (Bug #14797).

9 years ago; Spelling fix
Paul Eggert [Wed, 3 Aug 2016 21:58:30 +0000 (14:58 -0700)]
; Spelling fix

9 years agoPost AppDefined events from the main thread ONLY (bug#23934)
Alan Third [Wed, 20 Jul 2016 20:59:17 +0000 (21:59 +0100)]
Post AppDefined events from the main thread ONLY (bug#23934)

* src/nsterm.h: Make nextappdefined var not just GNUStep.
* src/nsterm.c (ns_send_appdefined, sendFromMainThread): Remove GNUStep

9 years agoUpdate to the AUTHORS file for Bob Weiner
John Wiegley [Tue, 2 Aug 2016 23:55:16 +0000 (16:55 -0700)]
Update to the AUTHORS file for Bob Weiner

* etc/AUTHORS: Update the packages attributed to Bob Weiner

9 years agoRevert "Fix local printer set to left aligned string formatter."
John Wiegley [Tue, 2 Aug 2016 18:43:08 +0000 (11:43 -0700)]
Revert "Fix local printer set to left aligned string formatter."

This reverts commit 8a38e948b039516e70176ebe20c5349e2ade6ac5.

9 years agoRevert "Fix ses-delete-blanks to delete only blanks + documentation."
John Wiegley [Tue, 2 Aug 2016 18:43:07 +0000 (11:43 -0700)]
Revert "Fix ses-delete-blanks to delete only blanks + documentation."

This reverts commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d.

9 years agoRevert "Fix English."
John Wiegley [Tue, 2 Aug 2016 18:43:05 +0000 (11:43 -0700)]
Revert "Fix English."

This reverts commit b275cc76f0c5ab49e81445fcc3420c8772aefd42.

9 years agoImprove doc strings of 'gud-gdb' and 'gdb'
Eli Zaretskii [Mon, 1 Aug 2016 19:58:37 +0000 (22:58 +0300)]
Improve doc strings of 'gud-gdb' and 'gdb'

* lisp/progmodes/gdb-mi.el (gdb):
* lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#24125)

9 years agoFix doc string of 'minibuffer-message-timeout'
Eli Zaretskii [Mon, 1 Aug 2016 13:29:20 +0000 (16:29 +0300)]
Fix doc string of 'minibuffer-message-timeout'

* src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
Doc fix.  (Bug#24123)

9 years agoFix English.
Vincent Belaïche [Fri, 29 Jul 2016 11:47:57 +0000 (13:47 +0200)]
Fix English.

* doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
  incorrect English.

9 years agoFix ses-delete-blanks to delete only blanks + documentation.
Vincent Belaïche [Fri, 29 Jul 2016 11:44:14 +0000 (13:44 +0200)]
Fix ses-delete-blanks to delete only blanks + documentation.

* doc/misc/ses.texi (Quick Tutorial): Mention the '!'
'ses-range' modifier as an alternative to 'ses+'.
(Advanced Features): Add a refernce to node 'Nonrelocatable
references' concerning function 'ses-rename-cell'.
(Standard formula functions): Mention the '!' 'ses-range'
modifier as an alternative to 'ses-delete-blanks'.
(More on cell printing): Fix fallback printer
definition.  Minor editorial formatting changes.
(Nonrelocatable references): Document the use of
'ses-rename-cell' as a better way to make cell reference
non-relocatable.
(The data area): Document the presence of local printer
definitions in the data area.

* lisp/ses.el (ses-delete-blanks): Do not remove
*error*.  Any error in an argument should propagate into the
using formula rather than being silently hidden !

9 years agoprofiler: document prefix arg for tree expansion
Noam Postavsky [Sun, 17 Jul 2016 04:21:42 +0000 (00:21 -0400)]
profiler: document prefix arg for tree expansion

* doc/lispref/debugging.texi (Profiling):
* lisp/profiler.el (profiler-report-toggle-entry): Document use of
prefix argument to expand whole call trees.

9 years agoClarify usage of eshell-visual-options
Noam Postavsky [Mon, 4 Jul 2016 02:41:48 +0000 (22:41 -0400)]
Clarify usage of eshell-visual-options

* lisp/eshell/em-term.el (eshell-visual-options): Add second option to
example usage (Bug #19627).

9 years agoFix comment in files-in-below-directory
Noam Postavsky [Mon, 27 Jun 2016 03:29:51 +0000 (23:29 -0400)]
Fix comment in files-in-below-directory

* doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
say append, since the code is adding to front of list (Bug #21589).

9 years agoFix local printer set to left aligned string formatter.
Vincent Belaïche [Thu, 28 Jul 2016 17:49:37 +0000 (19:49 +0200)]
Fix local printer set to left aligned string formatter.

* lisp/ses.el (ses-local-printer-compile): Add missing case
for left-aligned string formatter.

9 years ago; Fix typos in NEWS
Michael Albinus [Mon, 25 Jul 2016 08:43:14 +0000 (10:43 +0200)]
; Fix typos in NEWS

9 years ago; * etc/NEWS: Remove temporary marks
Nicolas Petton [Sun, 24 Jul 2016 19:26:11 +0000 (21:26 +0200)]
; * etc/NEWS: Remove temporary marks

9 years agoBump Emacs version to 25.1 for the first RC
Nicolas Petton [Sun, 24 Jul 2016 15:33:29 +0000 (17:33 +0200)]
Bump Emacs version to 25.1 for the first RC

* README:
* configure.ac:
* lisp/ldefs-boot.el:
* msdos/sed2v2.inp: Bump Emacs version to 25.1.

9 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sun, 24 Jul 2016 15:00:39 +0000 (17:00 +0200)]
* etc/AUTHORS: Update the AUTHORS file

9 years ago;; * ChangeLog.2: ChangeLog update.
Nicolas Petton [Sun, 24 Jul 2016 14:56:01 +0000 (16:56 +0200)]
;; * ChangeLog.2: ChangeLog update.

9 years ago; ChangeLog fixes
Nicolas Petton [Sun, 24 Jul 2016 14:41:47 +0000 (16:41 +0200)]
; ChangeLog fixes

9 years ago* admin/authors.el (authors-valid-file-names): Addition.
Nicolas Petton [Sun, 24 Jul 2016 14:20:43 +0000 (16:20 +0200)]
* admin/authors.el (authors-valid-file-names): Addition.

9 years ago* admin/authors.el: Additions.
Nicolas Petton [Sun, 24 Jul 2016 13:58:58 +0000 (15:58 +0200)]
* admin/authors.el: Additions.

9 years agoWarn about Cairo-related problems
Eli Zaretskii [Sat, 23 Jul 2016 17:43:29 +0000 (20:43 +0300)]
Warn about Cairo-related problems

* etc/NEWS: Warn about known problems in the Cairo build.
(Bug#23925)

9 years agoDon't let completion break `declare' handling
Paul Pogonyshev [Sat, 23 Jul 2016 14:12:56 +0000 (10:12 -0400)]
Don't let completion break `declare' handling

* elisp-mode.el (elisp-completion-at-point): Fix to not alter
`defun-declarations-alist' by side effect (Bug #23648).

9 years agoAdjust match data before calling after-change-funs
Noam Postavsky [Thu, 21 Jul 2016 00:15:14 +0000 (20:15 -0400)]
Adjust match data before calling after-change-funs

It's important to adjust the match data in between calling
before-change-functions and after-change-functions, so that buffer
change hooks will always see match-data consistent with buffer content.
(Bug #23917)

* src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
true call update_search_regs.  Update all callers (except
Freplace_match) to pass 0 for the new parameter.
* src/search.c (update_search_regs): New function, extracted from
Freplace_match.
(Freplace_match): Remove match data adjustment code, pass 1 for
ADJUST_MATCH_DATA to replace_range instead.

9 years agoDo not show string-rectangle preview if minibuffer is empty
Mark Oteiza [Thu, 21 Jul 2016 20:54:03 +0000 (16:54 -0400)]
Do not show string-rectangle preview if minibuffer is empty

* lisp/rect.el (rectangle--string-preview): Remove condition that sets
preview string to the default replacement string.

9 years ago* etc/PROBLEMS: Add entry about selection problems under Plasma 5.
Achim Gratz [Thu, 21 Jul 2016 15:07:48 +0000 (18:07 +0300)]
* etc/PROBLEMS: Add entry about selection problems under Plasma 5.

Bug#24013

9 years agoPort to glibc 2.24 (pre-release) + ppc64
Paul Eggert [Tue, 19 Jul 2016 13:23:14 +0000 (15:23 +0200)]
Port to glibc 2.24 (pre-release) + ppc64

Backport from master (Bug#24033).
Inspired by a suggestion by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
* src/emacs.c (main) [__PPC64__]:
Special case for __PPC64__, which needs ASLR disabled in
dumped Emacs too.

9 years ago* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
Katsumi Yamaoka [Thu, 21 Jul 2016 08:33:41 +0000 (08:33 +0000)]
* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).

9 years ago* lisp/net/shr.el (shr-fill-line):
Katsumi Yamaoka [Wed, 20 Jul 2016 22:56:42 +0000 (22:56 +0000)]
* lisp/net/shr.el (shr-fill-line):
Preserve text properties in folded lines (bug#24034).

9 years ago; Fix typo
Mark Oteiza [Wed, 20 Jul 2016 22:46:15 +0000 (18:46 -0400)]
; Fix typo

Thanks to Robert Weiner.

9 years agoExpand FIXME near definition of fboundp
Robert Cochran [Fri, 15 Jul 2016 19:45:56 +0000 (12:45 -0700)]
Expand FIXME near definition of fboundp

This expansion of the FIXME is so that future developers are aware of
the potential problems of aliasing fboundp to symbol-function without
taking backwards compatibility into account.

* src/data.c (fboundp): Note potential backwards compatibility issues in
FIXME.

Copyright-paperwork-exempt: yes

9 years agokill-rectangle should mention killed-rectangle
Noam Postavsky [Mon, 4 Jul 2016 01:40:26 +0000 (21:40 -0400)]
kill-rectangle should mention killed-rectangle

* lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
and warning message, rather than kill ring (Bug#19773).

9 years agoAvoid assertion violations in nhexl-mode
Eli Zaretskii [Sat, 16 Jul 2016 13:42:18 +0000 (16:42 +0300)]
Avoid assertion violations in nhexl-mode

* src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
code executed in all builds.  (Bug#24001)

9 years agoUse memmove instead of memcpy on overlapping regions
Fredrik Bergroth [Tue, 23 Feb 2016 11:41:16 +0000 (22:41 +1100)]
Use memmove instead of memcpy on overlapping regions

* src/editfns.c (Ftranspose_regions): Regions may overlap, so
use memmove instead of memcpy (bug#19213).

Copyright-paperwork-exempt: yes

This is a backport from trunk.
(cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)

9 years agoDocument buffer-swap-text+save-excursion interaction
Noam Postavsky [Mon, 11 Jul 2016 01:52:23 +0000 (21:52 -0400)]
Document buffer-swap-text+save-excursion interaction

* doc/lispref/buffers.texi (Swapping Text):
* src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
`buffer-swap-text' and `save-excursion' (Bug #4655).

9 years agoFix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
Stefan Monnier [Thu, 14 Jul 2016 19:05:49 +0000 (15:05 -0400)]
Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)

* lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
* lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
`class' is not a symbol but a class object.

9 years agoInclude cl-generic in package--builtin-versions (bug#22817)
Stefan Monnier [Thu, 14 Jul 2016 18:56:38 +0000 (14:56 -0400)]
Include cl-generic in package--builtin-versions (bug#22817)

* lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
Add ourselves manually.  Don't merge since there's a better fix on master.

9 years agoImprove timing in `tramp-test29-environment-variables'
Michael Albinus [Thu, 14 Jul 2016 10:27:41 +0000 (12:27 +0200)]
Improve timing in `tramp-test29-environment-variables'

* test/automated/tramp-tests.el
(tramp-test--shell-command-to-string-asynchronously):
Add additional `accept-process-output' call.
(tramp-test29-environment-variables): Remove additional sleep calls.

9 years agoAdd test for handling environment variables in Tramp
Michael Albinus [Thu, 14 Jul 2016 08:10:53 +0000 (10:10 +0200)]
Add test for handling environment variables in Tramp

* test/automatedtramp-tests.el
(tramp-test--shell-command-to-string-asynchronously): New defun.
(tramp-test29-environment-variables): New test.
(tramp-test30-vc-registered)
(tramp-test31-make-auto-save-file-name)
(tramp-test32-special-characters)
(tramp-test32-special-characters-with-stat)
(tramp-test32-special-characters-with-perl)
(tramp-test32-special-characters-with-ls, tramp-test33-utf8)
(tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
(tramp-test33-utf8-with-ls)
(tramp-test34-asynchronous-requests)
(tramp-test35-recursive-load, tramp-test36-unload): Rename.

9 years ago* lisp/emacs-lisp/package.el (describe-package-1)
Glenn Morris [Wed, 13 Jul 2016 15:54:57 +0000 (08:54 -0700)]
* lisp/emacs-lisp/package.el (describe-package-1)
(package-status-external): Fix face references.  (Bug#23927)

9 years ago; * lisp/net/tramp.el: Fix 2010-10-04 comment typo. (Bug#23913)
Glenn Morris [Wed, 13 Jul 2016 15:48:30 +0000 (08:48 -0700)]
; * lisp/net/tramp.el: Fix 2010-10-04 comment typo.  (Bug#23913)

9 years ago; Spelling fixes
Paul Eggert [Wed, 13 Jul 2016 10:23:22 +0000 (12:23 +0200)]
; Spelling fixes

9 years agoImprove documentation of search functions
Stephen Berman [Tue, 12 Jul 2016 20:11:22 +0000 (22:11 +0200)]
Improve documentation of search functions

Make the documentation of the search functions more accurate,
complete, and uniform; in particular, extend the description of
the effect when the 'count' parameter is a negative number to all
of these functions.

* src/search.c (Fsearch_backward, Fsearch_forward)
(Fre_search_backward, Fre_search_forward)
(Fposix_search_backward, Fposix_search_forward):
* lisp/isearch.el (word-search-backward, word-search-forward)
(word-search-backward-lax, word-search-forward-lax): Improve doc
strings as described above.

* doc/lispref/searching.texi (String Search, Regexp Search)
(POSIX Regexps): Use 'count' instead of 'repeat' as the name of
the fourth parameter of the *-search-{forward,backward} functions
and improve documentation as described above.

9 years agoDelete environment variables in Tramp when needed
Michael Albinus [Tue, 12 Jul 2016 18:02:10 +0000 (20:02 +0200)]
Delete environment variables in Tramp when needed

* lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
(tramp-sh-handle-start-file-process)
(tramp-sh-handle-process-file, ): Use it.  (Bug#23952)

9 years agoAdd "New in Emacs 25" section to the FAQ
Eli Zaretskii [Tue, 12 Jul 2016 06:30:55 +0000 (09:30 +0300)]
Add "New in Emacs 25" section to the FAQ

* doc/misc/efaq.texi (Latest version of Emacs): Update for later
versions.
(New in Emacs 25): New node.
(Status of Emacs): Add it to the menu.

9 years agoFix 'vertical-motion' in non-interactive sessions
Eli Zaretskii [Sun, 10 Jul 2016 19:06:57 +0000 (22:06 +0300)]
Fix 'vertical-motion' in non-interactive sessions

* src/indent.c (Fvertical_motion): Don't return uninitialized
value in non-interactive session.  This fixes random errors in
batch mode, see
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00609.html
and
http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00500.html
for the details.

9 years agoFix memory leak in imagemagick-types
Andreas Schwab [Sun, 10 Jul 2016 18:18:44 +0000 (20:18 +0200)]
Fix memory leak in imagemagick-types

* src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
avoid memory leak.

9 years agoUpdate ELisp manual to match 'string-collate-equalp' doc string
Eli Zaretskii [Sun, 10 Jul 2016 14:34:34 +0000 (17:34 +0300)]
Update ELisp manual to match 'string-collate-equalp' doc string

* doc/lispref/strings.texi (Text Comparison): Remove reference to
sorting from the description of 'string-collate-equalp'.  (Bug#23902)

9 years agoClarify docstring of find-feature-regexp
Noam Postavsky [Sat, 2 Jul 2016 21:17:55 +0000 (17:17 -0400)]
Clarify docstring of find-feature-regexp

* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
is optional (Bug #23520).

9 years agoAdd details to cl-lib defining macros' docstrings
Noam Postavsky [Sat, 2 Jul 2016 03:53:26 +0000 (23:53 -0400)]
Add details to cl-lib defining macros' docstrings

* lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
of supported arglist forms (Bug #22462).

9 years agoClarify doc string of 'save-buffer'
Eli Zaretskii [Sat, 9 Jul 2016 11:17:12 +0000 (14:17 +0300)]
Clarify doc string of 'save-buffer'

* lisp/files.el (save-buffer): Clarify that backups might not be
made even if this command is invoked with 2 or 3 "C-u"s.
(Bug#3702)

9 years agoUn-confuse doc string of 'string-collate-equalp'
Eli Zaretskii [Fri, 8 Jul 2016 10:05:01 +0000 (13:05 +0300)]
Un-confuse doc string of 'string-collate-equalp'

* src/fns.c (Fstring_collate_equalp): Remove confusing text from
doc string.  (Bug#23902)